<%@ Reference Control="~/Controls/PagingControl.ascx" %>
<%@ Register tagprefix="Pager" Tagname="DataGridPager" Src="Controls/PagingControl.ascx" %>
<%@ Page language="vb" Inherits="_2bMatesSite.group_privacy_settings" CodeFile="group_privacy_settings.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<form id="Form1" method="post" runat="server">
	<table height="100%" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
		<tr>
			<td colspan="3">
				<table cellspacing="0" cellpadding="0" width="100%" border="0" class="page_title">
					<tr>
						<td><asp:label id="lblGroupPrivacySettings" runat="server">Group Privacy Settings</asp:label></td>
						<td align="right"><!--<asp:HyperLink id="hlHelp" cssclass="white_link" runat="server">Help</asp:HyperLink>--><!--<a href="account_settings.aspx">Back</a>--></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td class="main_table_border" vAlign="top" width="100%" height="100%"><!-- width="556" -->
				<div class="content">
					<table cellSpacing="0" cellPadding="0" width="100%" border="0" class="main_text">
						<tr>
							<td><asp:Literal id="litPrivacy" runat="server">2BMates.com 
              is concerned for your privacy! In order for you to enjoy your 
              experience to the fullest, the site enables you to view your 
              profile and for you to have control of the groups you are 
              member of.<BR>
              <UL>
										<LI>
											Check "Accept Moderator Bulletin Comments" if you want to receive moderator 
											bulletins in the special Messages section - Group Bulletins<BR>
										&nbsp;
										<LI>
											Check "Accept Member Bulletin Comments" if you want to receive group members' 
											bulletins in the special Messages section - Group Bulletins<BR>
											&nbsp;
										</LI>
									</UL></asp:Literal>
							</td>
						</tr>
						<tr>
							<td><asp:label id="lblMessage" runat="server" CssClass="val_summary" Visible="False">Your Group Privacy Settings have been updated.</asp:label></td>
						</tr>
						<tr>
							<td vAlign="top" colSpan="2">
								<table id="tblMemberGroups" cellSpacing="0" cellPadding="0" width="100%" border="0" runat="server"
									name="tblMemberGroups" class="main_text">
									<tr>
										<td vAlign="top"><PAGER:DATAGRIDPAGER id="dgPagerUp" runat="server"></PAGER:DATAGRIDPAGER></td>
									</tr>
									<tr>
										<td class="small" height="8" valign="top">&nbsp;</td>
									</tr>
									<tr>
										<td vAlign="top"><ASP:DATAGRID id="dgMemberGroups" runat="server" AutoGenerateColumns="False" GridLines="None"
												Width="100%" AllowPaging="True" AllowCustomPaging="True" PagerStyle-Mode="NumericPages" PagerStyle-HorizontalAlign="Right"
												CellPadding="0" AllowSorting="True">
												<itemstyle cssclass="data_grid" verticalalign="Top"></itemstyle>
												<headerstyle cssclass="data_grid_header"></headerstyle>
												<columns>
													<asp:TemplateColumn HeaderText="Group">
														<headerstyle width="140px"></headerstyle>
														<itemstyle></itemstyle>
														<itemtemplate>
															<input type="hidden" id="hdnGroupID" name="hdnGroupID" runat=server value='<%# DataBinder.Eval(Container.DataItem, "GroupID") %>'>
															<b>
																<asp:hyperlink id=hlGroup cssclass="main_text_bold" runat="server" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "GroupURL") %>'>
																	<%# DataBinder.Eval(Container.DataItem, "GroupName") %>
																</asp:hyperlink></b>
															<br />
															<asp:HyperLink id=hlGroupImage runat="server" CssClass="small_image" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "GroupURL") %>' ImageUrl='<%# DataBinder.Eval(Container.DataItem, "GroupImageURL") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "GroupName") %>'>
																<%# DataBinder.Eval(Container.DataItem, "GroupName") %>
															</asp:HyperLink>
														</itemtemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn>
														<itemtemplate><br>
															Accept Member Bulletin Comments <img src="images/spacer.gif" width="8" height="1">
<asp:radiobutton id="rbAcceptMembersBulletins" runat="server" value="1" GroupName="grpAccMemBul" Checked='<%# DataBinder.Eval(Container.DataItem, "AcceptMemberCommentsYesChecked") %>' ></asp:radiobutton><font class="radio_text">&nbsp;Yes</font>
<asp:radiobutton id="rbNotAcceptMembersBulletins" runat="server" value="0" GroupName="grpAccMemBul" TextAlign="Left" Checked='<%# DataBinder.Eval(Container.DataItem, "AcceptMemberCommentsNoChecked") %>'></asp:radiobutton><font class="radio_text">
																&nbsp;No</font><br>
															Accept Moderator Bulletin Comments 
<asp:radiobutton id="rbAcceptModeratorBulletins" runat="server" value="1" GroupName="grpAccModBul" Checked='<%# DataBinder.Eval(Container.DataItem, "AcceptModeratorCommentsYesChecked") %>'>
															</asp:radiobutton><font class="radio_text">&nbsp;Yes</font>
<asp:radiobutton id="rbNotAcceptModeratorBulletins" runat="server" value="0" GroupName="grpAccModBul" TextAlign="Left" Checked='<%# DataBinder.Eval(Container.DataItem, "AcceptModeratorCommentsNoChecked") %>'></asp:radiobutton><font class="radio_text">
																&nbsp;No</font>
														</itemtemplate>
														<footerstyle horizontalalign="Left" verticalalign="Top"></footerstyle>
													</asp:TemplateColumn>
												</columns>
												<pagerstyle verticalalign="Top" visible="False" horizontalalign="Right" mode="NumericPages"></pagerstyle>
											</ASP:DATAGRID></td>
									</tr>
									<tr>
										<td vAlign="top"><PAGER:DATAGRIDPAGER id="dgPager" runat="server"></PAGER:DATAGRIDPAGER></td>
									</tr>
									<tr>
										<td><br />
											<asp:button id="btnSave" onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);"
												runat="server" CssClass="btn" Text="Save" onclick="btnSave_Click"></asp:button>&nbsp;&nbsp;<asp:button id="btnCancel" onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);"
												runat="server" CssClass="btn1" Text="Back to your account settings" CausesValidation="False" onclick="btnCancel_Click"></asp:button></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</div>
			</td>
		</tr>
	</table>
</form>
